package libra.controller;

import java.util.Map;

/**
 * 自定义Sentinel_fallback异常处理类 
 * @author libra
 */
public class SentinelFallback {
	public static Map<String, String> dafaultFallback(  String param, Throwable ex )  {
		return BuildResp.createFallbackResp( String.format("SentinelController.annoByFallbackMethod_Fallback() ... 【参数值：%s】 ... 【异常[ %s ]：%s】", 
				param, ex.getClass().getSimpleName(), ex.getMessage() ) );
	}
}
